package com.yupi.yuojcodesandbox.sandbox.py;

import com.yupi.yuojcodesandbox.sandbox.AbstractDockerCodeSandbox;
import org.springframework.stereotype.Component;

/**
 * @author yuhao
 */
@Component
public class PythonDockerCodeSandbox extends AbstractDockerCodeSandbox {
    private static final String LANGUAGE_CMD = "docker exec -i  %s py -Dfile.encoding=UTF-8  %s Main";

    public PythonDockerCodeSandbox() {
        super("python:3.7", LANGUAGE_CMD, "/python");
    }
}



